package {
	import routes.Routes;

	/**
	 * This class is a convenient container for global resources, that are
	 * specified as static variables. It is therefore possible to use this
	 * directly (without instantiating it) just as if it were a singleton.
	 * 
	 * Amongst other benefits, this may help avoid verbosity resulting from
	 * chaining calls to parentDocument and/or parentApplication.
	 * 
	 * If this class is placed at the Flex project's root-src level there is
	 * not even a need to import it to use it from within any component in 
	 * the application. Also recommended is to use simply "g" as the name 
	 * for this class as this, besides being easy to type, actually results 
	 * in clearer code. 
	 * */
	public class g {
		
		// the global routes single instance (set in setupRoutes())
		public static var routes:Routes;
		
	}
}
